package cn.ahaiahaixx.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;



/**
 * 用户表
 * @author Aiden Pearce
 *
 */
public class TbUser extends BaseEntity{
	private static final long serialVersionUID = 503955992540949590L;
	private Integer uid;
	private String username;
	private String password;
	private String nickname;
	private String isEnable;
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date regData;
	
	public TbUser() {
		
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(String isEnable) {
		this.isEnable = isEnable;
	}

	public Date getRegData() {
		return regData;
	}

	public void setRegData(Date regData) {
		this.regData = regData;
	}

	public TbUser(Integer uid, String username, String password, String nickname, String isEnable, Date regData) {
		super();
		this.uid = uid;
		this.username = username;
		this.password = password;
		this.nickname = nickname;
		this.isEnable = isEnable;
		this.regData = regData;
	}
	
	
}
